home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Weubblers handler.adf / examples / makefile < prev    next >
Makefile  |  1989-02-27  |  2KB  |  69 lines

  1. CFLAGS=-a +L
  2. LFLAGS=+Q
  3. AFLAGS=-v -ZAP
  4.  
  5. CC = cc
  6. AS = as
  7. LN = ln
  8.  
  9. # Add -t for Profiler in LFLAGS!!
  10. # -w for Wack-readable File.
  11. # -G for debugfile.
  12.  
  13. # +L for long Integers.
  14. # -n for debugfile.
  15. # +fi for manx' MathBib.
  16.  
  17. # Contradiction PD-Make <--> Aztec-Make:
  18. # Aztec-Make expands $* --> TargetFile without Expansion
  19. # PD-Make    expands $* --> DependencyFile without Expansion
  20. # So don't use it, if possible!!
  21.  
  22. ALL = Mountme TrackCap MsCopy MultCopy MultFormat\
  23.       DesTrack MsFormat Format40 SafeFormat CheckDisk Analyze\
  24.  
  25.  
  26. ALLOBJ = Mountme.o TrackCap.o MsCopy.o MultCopy.o MultFormat.o\
  27.          DesTrack.o MsFormat.o Format40.o SafeFormat.o CheckDisk.o\
  28.          Analyze.o
  29.  
  30. .c.o:
  31.     $(CC) $(CFLAGS) +I Handler.Pre $*.c -o ram:$*.asm
  32.     $(AS) $(AFLAGS) ram:$*.asm -o $*.o
  33.  
  34. ALLE: $(ALL) setid getid genscript SafeFormat40
  35.  
  36. ALL: $(ALL)
  37.  
  38. $(ALL): support1.lib
  39.     $(LN) $(LFLAGS) $@.o -o $@ -lsupport1 -lc32
  40.  
  41. TrackCap: TrackCap.o
  42. MsCopy: MsCopy.o
  43. MultCopy: MultCopy.o
  44. MultFormat: MultFormat.o
  45. DesTrack: DesTrack.o
  46. MsFormat: MsFormat.o
  47. Format40: Format40.o
  48. SafeFormat: SafeFormat.o
  49. CheckDisk: CheckDisk.o
  50. Analyze: Analyze.o
  51. Mountme: Mountme.o
  52.  
  53. $(ALLOBJ): Handler.Pre
  54. Handler.Pre: Handler.H
  55.     $(CC) $(CFLAGS) +H Handler.Pre Handler.H
  56.  
  57. genscript:    genscript.c
  58.     cc +l genscript.c -o ram:genscript.o
  59.     ln ram:genscript.o -o genscript -lc32
  60. getid:    getid.c
  61.     cc +l getid.c -o ram:getid.o
  62.     ln ram:getid.o -o getid -lc32
  63. setid:    setid.c
  64.     cc +l setid.c -o ram:setid.o
  65.     ln ram:setid.o -o setid -lc32
  66. SafeFormat40: SafeFormat.o support40.lib
  67.     $(LN) $(LFLAGS) SafeFormat.o -o SafeFormat40 -lsupport40 -lc32
  68.  
  69.